package com.pi.community.common;

import com.pi.base.util.Prop;
import com.pi.base.util.PropKit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class FtpFileConfig {

    private static final Logger logger = LoggerFactory.getLogger(FtpFileConfig.class);
    public static String username;
    public static String password;
    public static String host;
    public static String parentFolder ;

    static {
        Prop prop =  PropKit.use("server.properties");
        username = prop.get("server.ftp.user");
        password = prop.get("server.ftp.password");
        host = prop.get("server.ftp.host");
        parentFolder = prop.get("server.ftp.parentFolder");
        logger.info(host+"|"+username+"|"+password);
    }


}
